<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <title>模拟器</title>
    <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
    <style>
        html,
        body {
            margin: 0;
            padding: 0;
            border: 0;
            height: 100%;
            width: 100%;
            overflow: hidden;
        }

        .noselect {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        .log {
            pointer-events: none;
            font-size: 24px;
            position: fixed;
            top: 0;
            bottom: 0;
            mix-blend-mode: difference;
            color: #fff;
        }

        #stage {
            height: 100%;
            width: 100%;
        }
    </style>
    <link rel="stylesheet" type="text/css" href="./normalize.css">
</head>

<body style="background-color: white;text-align: left;">
    <canvas id="stage" style="background-color: white;"></canvas>
    <div class="noselect log" id="logDiv"></div>
    <div style="display: none;">
        <label>选择逻辑文件</label>
        <input id="input_script" type="file" accept=".xe" /><br />
        <input type="button" onclick="changeFSM({value:''})" value="X" />
        <input type="button" onclick="changeFSM(this)" value="新建库.游戏逻辑" />
        <input type="button" onclick="changeFSM(this)" value="test.Main" />
        <input type="button" onclick="changeFSM(this)" value="Start.Main" />
        <br />
        <button id="button_run">Run</button><br />
    </div>
    <script id="vm_mjs" type="text/plain" src="../runtime/vm.mjs"></script>
    <script src="js/fileOD.js"></script>
    <!-- <script src="../../frontpage/3rd/acorn_interpreter.js"></script> -->
    <script src="../../frontpage/3rd/acorn.js"></script>
    <script src="../../frontpage/3rd/interpreter.js"></script>
    <script src="../../frontpage/3rd/@babel/standalone@7.23.10/babel.min.js"></script>
    <script src="../../frontpage/core/3rd/axios.min.js"></script>
    <script src="./js/asyncprompt.js"></script>
    <script type="module" src="./js/jsruntime.ext.mjs"></script>
    <script type="module" src="./js/index.mjs"></script>
    <script type="text/javascript">
    </script>
</body>

</html>